Skip to content

macOS support #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025
Merged

Conversation

blurrycat
Copy link
Contributor

@blurrycat blurrycat commented Mar 31, 2025

Add support for macOS, passes all tests on my M4 MacBook Air.

I'm not entirely sure I have done this the best way, feel free to suggest modifications!

@Parzival-3141
Copy link
Collaborator

Looks right to me, nice catch with the mtimespec and qsort flags. Did you add those after running the upstream configure?

@Parzival-3141 Parzival-3141 merged commit 84e3689 into allyourcodebase:main Mar 31, 2025
2 checks passed
@blurrycat
Copy link
Contributor Author

Yeah I compared the git2_features.h files generated by both the upstream CMake and zig build and worked my way from there. :)

@blurrycat blurrycat deleted the feat/macos branch March 31, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants